package 行为型模式.责任链模式;

/**
 * @Description 小组长类
 * @Author shallow
 * @Date 2023/3/8 10:52
 */

public class GroupLeader extends Handler{
    public GroupLeader() {
        super(0,Handler.NUM_ONE);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName()+"请假"+leave.getNum()+"天，"+leave.getContent());
        System.out.println("小组长审批:同意");
    }
}
